function lazyloadForPart(container) {
        container.find('img').each(function() {
                var original = $(this).attr("original");
                if (original) {
                        $(this).attr('src', original).removeAttr('original');
                }
        });
}
function setContentTab(name, curr, n) {
        for (i = 1; i <= n; i++) {
                var menu = document.getElementById(name + i);
                var cont = document.getElementById("con_" + name + "_" + i);
                menu.className = i == curr ? "current" : "";
                if (i == curr) {
                        cont.style.display = "block";
                        lazyloadForPart($(cont));
                } else {
                        cont.style.display = "none";
                }
        }
}